package org.goldenport.g3.sample

import org.goldenport.g3._
import org.goldenport.g3.messages._
import org.goldenport.g3.messages.datastore._
import org.goldenport.g3.messages.sql.VARCHAR

/**
 * @since   Aug. 18, 2010
 * @version Aug. 18, 2010
 * @author  ASAMI, Tomoharu
 **/
class DataStoreUpdate extends G3Application with UseRecord {
  datastore('myds)

  val cmd = Update(
    DataStoreChannelSpec.KIND_NAME,
    Record('id -> 5, 'name -> "Suzuki Hanako")
  )

  start(cmd) invoke("myds")
}
